package com.device.api.service;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.device.api.entity.CtwingDeviceResult;
import com.device.api.entity.PudongDeviceConfig;
import com.device.api.entity.vo.QcVo;
import com.device.api.r.Result;
import com.device.api.request.DeviceDataSwitchRequest;
import com.device.api.request.DeviceReadDataRequest;
import com.device.api.request.DeviceUploadFrequencyRequest;

import java.util.List;

public interface IDeviceApiService {




    Result<?> updateDeviceDataSwitch(DeviceDataSwitchRequest request);

    Result<?> updateDeviceUploadFrequency(DeviceUploadFrequencyRequest request);

    Result<?> insert( PudongDeviceConfig pudongDeviceConfig);

   Page<QcVo> deviceQcExaminingReport(String deviceNo, Integer pageNo, Integer pageSize, String startTime, String endTime);


    Result<?> delete(String deviceNo);

    Result<?> timeCalibration(Object deviceNo);

    Result<?> getDeviceTime(Object deviceNo);

    Result<?> deviceReadData(DeviceReadDataRequest request);

    Result<?> deviceSetIp(JSONObject jsonObject);

    JSONObject deviceAuth(JSONObject message);
}
